#ifndef TRADER_H
#define TRADER_H

#include <QWidget>
#include<QPushButton>
#include<QLabel>
#include<QListWidget>
#include<QVBoxLayout>

class trader : public QWidget
{
    Q_OBJECT
public:
    explicit trader(QWidget *parent = nullptr);
    trader(int cost1,int cost2,int cost3);
    int _cost1;
    int _cost2;
    int _cost3;

signals:
    void sendId(int i);

public slots:
    void selectId();

private:
    QPushButton *ConPB;
    QListWidget *storeList;
    QLabel *label;
};

#endif // TRADER_H
